Smush\Core\Modules\Smush D

Total Complexity 198
Dependencies 4
Dependents 8
Total lines 1,129
Lines of code 542
Logical lines of code 351
Comment lines 405
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
resize_from_meta_data()
D
33 32 82
_post()
B
36 22 73
do_smushit()
B
39 21 56
wp_smush_handle_editor_async()
B
47 17 32
smush_image()
A
42 15 47
smush_single()
A
44 10 43
update_lists()
A
57 9 15
update_super_smush_count()
S
56 7 17
calculate_percentage()
S
58 7 14
add_api_message()
S
57 6 17
update_resmush_list()
S
58 6 15
wp_smush_handle_async()
S
61 6 12
remove_sizes_from_s3_upload()
S
62 6 11
dismiss_update_info()
S
62 6 11
calculate_percentage_from_stats()
S
61 5 12
show_warning()
S
62 5 12
skip_image_size()
S
63 4 10
delete_images()
S
61 3 13
add_scaled_to_meta()
S
61 3 12
resize_image()
S
70 3 6
is_auto_smush_enabled()
S
69 2 7
get_size_signature()
S
67 1 9
array_fill_placeholders()
S
66 1 8
init()
S
65 1 8